package com.xiaoshuidi.cloud.module.contract.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

@Schema(description = "开票管理 - 可开票分页 Response VO")
@Data
@ToString(callSuper = true)
public class OrderInvoicePageRespVO {
    /**
     * 账单id
     */
    @Schema(description = "账单id")
    private Long orderId;
    /**
     * 账单明细id
     */
    @Schema(description = "账单明细id,逗号分隔")
    private String orderFeesId;
    /**
     * 发票id
     */
    @Schema(description = "发票id")
    private Long invoiceId;
    /**
     * 账单编号
     */
    @Schema(description = "账单编号")
    private String orderNo;
    /**
     * 承租人
     */
    @Schema(description = "承租人")
    private String roommateName;
    /**
     * 账单归属人 个人承担 0 | 企业承担1
     */
    @Schema(description = "账单归属人 个人承担 0 | 企业承担1")
    private String roommateId;
    /**
     * 房间名称
     */
    @Schema(description = "房间名称")
    private String roomName;
    /**
     * 账单类型 default 合同账单 | custom 杂费账单 | free 免租期账单 |meter 抄表账单| carry 结转账单| owner 业主账单 |extension 延期账单
     */
    @Schema(description = "账单类型 default 合同账单 | custom 杂费账单 | free 免租期账单 |meter 抄表账单| carry 结转账单| owner 业主账单 |extension 延期账单")
    private String orderType;
    /**
     * 账单周期
     */
    @Schema(description = "账单周期")
    private String orderCycle;
    /**
     * 金额
     */
    @Schema(description = "金额")
    private BigDecimal amount;
    /**
     * 已开票金额
     */
    @Schema(description = "已开票金额")
    private BigDecimal invoiceAmount;
    /**
     * 状态  0 未申请 1 已申请 2 已开票 3 已拒绝 4 已红冲 11 标记已开票
     */
    @Schema(description = "状态  0 未申请 1 已申请 2 已开票 3 已拒绝 4 已红冲 11 标记已开票")
    private String invoiceStatus;

    /**
     * 是否已开票 Y/N
     */
    @Schema(description = "是否已开票 Y/N")
    private String isInvoice;

}
